package com.service.Impl;

import com.mapper.UserMapper;
import com.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class UserServiceImpl implements UserService {
    @Autowired//IoC
	UserMapper userMapper;//数据访问层对象

	@Override
	public int queryUserById(String username,String password) {
		return userMapper.queryUserById(username,password);
	}

}
